package com.qf.service.impl;

import com.qf.entity.NewDetail;
import com.qf.mapper.NewDetailMapper;
import com.qf.service.NewDatailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 2019/11/19
 * 郭程鹏
 * ssm-11-19
 * 面向代码面向君,不负时光不负卿
 */
@Service
public class NewDatailImpl implements NewDatailService {

    @Autowired
    private NewDetailMapper newDetailMapper;
    @Override
    public List<NewDetail> selecetAll() {

        List<NewDetail> newDetailList = newDetailMapper.selecetAll();
        return newDetailList;
    }
}
